ESRI.ArcGIS.Mobile.Client
RelayUICommand Constructor(String,Generic Action)
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace > RelayUICommand Class > RelayUICommand Constructor : RelayUICommand Constructor(String,Generic Action)

name
UI Name
execute
The delegate to invoke when ICommand.Execute() is called.
Initializes a new instance of the RelayCommand class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal execute As Action(Of Object) _
)
C# 
public RelayUICommand( 
   string name,
   Action<object> execute
)

Parameters

name
UI Name
execute
The delegate to invoke when ICommand.Execute() is called.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also